package cn.aitrox.ry.service.anno.enumtype.anno;

public enum LesionResultGroupTypeEnum {

    VIDEO_FRAME_SEGMENT("VIDEO_FRAME_SEGMENT", "超声");

    private String type;

    private String desc;

    LesionResultGroupTypeEnum(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public String getType() {
        return type;
    }

    public String getDesc() {
        return desc;
    }

    public static LesionResultGroupTypeEnum _getEnum(Integer type) {
        for (LesionResultGroupTypeEnum typeEnum : LesionResultGroupTypeEnum.values()) {
            if (typeEnum.getType().equals(type)) {
                return typeEnum;
            }
        }
        return null;
    }

}
